package com.ruoyi.project.channel.channelAccountSub.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 子账号表 channel_account_sub
 * 
 * @author CAIN
 * @date 2019-09-26
 */
public class ChannelAccountSub extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private Long subAccountId;
	/** 归属主账号 */
	private String accountId;
	/** 子账号二维码 */
	private String qrcode;
	private String useStatus;
	private BigDecimal amount;
	public void setSubAccountId(Long subAccountId) 
	{
		this.subAccountId = subAccountId;
	}

	public Long getSubAccountId() 
	{
		return subAccountId;
	}
	public void setQrcode(String qrcode)
	{
		this.qrcode = qrcode;
	}

	public String getQrcode() 
	{
		return qrcode;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("subAccountId", getSubAccountId())
            .append("accountId", getAccountId())
            .append("qrcode", getQrcode())
            .append("remark", getRemark())
            .toString();
    }

	public String getAccountId() {
		return accountId;
	}

	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}

	public String getUseStatus() {
		return useStatus;
	}

	public void setUseStatus(String useStatus) {
		this.useStatus = useStatus;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
}
